package Arguments;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.net.URISyntaxException;

import javax.annotation.processing.FilerException;

public class Arguments {

	public Arguments () {
		
	}
	
	public String[][] getInfos() throws IOException, URISyntaxException
	{
		String[][] tabChaine = new String[9][];
		
		try
		{
			
		   File file = new File("src/Arguments/Valeurs.csv");
		   BufferedReader File = new BufferedReader(new FileReader(file));
		   String line;
		   int i = 0;
		 
		   while((line = File.readLine())!= null)
		   {
		     tabChaine[i] = line.split(";");
		      i++;
		   }
		   File.close(); 
		   return tabChaine;
		}
		catch (FilerException e)
		{
		   System.out.println("Fichier Inexistant!!!");
		}
		
		return tabChaine;
	}
}
